/*
*首页广告
 */
import React from 'react'
import './HomeAd.css'
import  ad_1 from  './img/ad_1.png'

class HomeAd extends React.Component{
    constructor(props){
        super(props);
        this.state = {
            HomeTop_bg:1
        };
    }
    render() {

        return (
            <div className="HomeAd">
                <a href={this.props.data.web_url}>
                    <img src={this.props.data.image_url} alt=""/>
                </a>
            </div>
        )
    }
}

export default HomeAd